import { request } from "@/utils/request"

const ip = {
    searchData: "/back/renfang/doc/template/search", // 查询模板数据
}

// 基本方案 获取数据
export const searchDataJbfa = (params) => {
    return request({
        url: ip.searchData,
        method: "get",
        params: {
            ...params,
            name: "基本方案"
        }
    });
}


// 跨区支援行动计划 获取数据
export const searchDataKqzy = (params) => {
    return request({
        url: ip.searchData,
        method: "get",
        params: {
            ...params,
            name: "跨区支援行动计划"
        }
    });
}
// 平战转换行动计划 获取数据
export const searchDataPzzh = (params) => {
    return request({
        url: ip.searchData,
        method: "get",
        params: {
            ...params,
            name: "平战转换行动计划"
        }
    });
}
// 人员防护行动计划 获取数据
export const searchDataRyfh = (params) => {
    return request({
        url: ip.searchData,
        method: "get",
        params: {
            ...params,
            name: "人员防护行动计划"
        }
    });
}
// 重要目标防护行动计划 获取数据
export const searchDataZymb = (params) => {
    return request({
        url: ip.searchData,
        method: "get",
        params: {
            ...params,
            name: "重要目标防护行动计划"
        }
    });
}
// 情报信息保障计划 获取数据
export const searchDataQbxx = (params) => {
    return request({
        url: ip.searchData,
        method: "get",
        params: {
            ...params,
            name: "情报信息保障计划"
        }
    });
}
// 综合保障计划 获取数据
export const searchDataZhbz = (params) => {
    return request({
        url: ip.searchData,
        method: "get",
        params: {
            ...params,
            name: "综合保障计划"
        }
    });
}
// 政治工作计划 获取数据
export const searchDataZzgz = (params) => {
    return request({
        url: ip.searchData,
        method: "get",
        params: {
            ...params,
            name: "政治工作计划"
        }
    });
}